package com.bobohost.crmrbac.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.bobohost.crmrbac.pojo.po.Department;

import java.util.List;

public interface DepartmentService {
    List<Department> findDepartmentList();

    Department findDepartmentById(int id);

    void updateDepartment(Department department);

    void removeById(Integer id);

    void saveOrUpdateDepartment(Department department);


    IPage<Department> findDepartmentListPage(IPage page);

    List<Department> list();
}
